#ifndef __KPF_LOCKER_H__
#define __KPF_LOCKER_H__

#include "lock.h"

#include "KPF_Object.h"

class KPF_Locker : public KPF_Object
{
public:
	KPF_Locker( void );
	virtual ~KPF_Locker( void );
	
	void Lock( void );
	
	void Unlock( void );
	
protected:

private:
	KPF_Locker( const KPF_Locker &other );
	
	KPF_Locker &operator =( const KPF_Locker &other );

	CMutex m_Locker;
};

#endif/* __KPF_LOCKER_H__ */
